Socket
Socket
Sign inDemoInstall

download-git-repo

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

download-git-repo

Download and extract a git repository (GitHub, Bitbucket) from node.


Version published
Weekly downloads
101K
increased by7.05%
Maintainers
1
Weekly downloads
 
Created
Source

download-git-repo

Download and extract a git repository (GitHub, Bitbucket) from node.

Installation

$ npm install download-git-repo

API

download(repo, destination, callback)

Download a git repo to a destination folder and callback.

The following git host options for repo are supported:

  • GitHub - github:owner/name or simply owner/name
  • Bitbucket - bitbucket:owner/name

The repo option defaults to the master branch, but you can specify a branch or tag as a URL fragment like owner/name#branch. Feel free to submit an issue or pull request for additional host options.

Thanks

To ianstormtaylor/download-github-repo for the head start.

License

MIT

Keywords

FAQs

Package last updated on 13 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc